package edu.sandau.b230151.b23015101.model;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Book {
    @Id
    private String id;
    private String name;
    private Integer price;

    public String getName(){
        return name;
    }
    public String getId(){
        return id;
    }
    public Integer getPrice(){
        return price;
    }
    public void setName(String name){
        this.name=name;
    }
    public void setId(String id){
        this.id=id;
    }
    public void setPrice(Integer price){
        this.price=price;
    }

}
